<!DOCTYPE html>
<html lang="th">
<head>
    <meta charset="UTF-8">
    <title>表单演示</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/my_form.css">
</head>
<body>
<form action="" name="" method="post">
    <fieldset>
        <legend>基本信息</legend>
        <label>姓名 <input type="text" name="truename" id="truename"> </label>
        <label for="nickname">昵称</label><input type="text" name="nickname" id="nickname">
        <label for="password">密码</label><input type="password" name="password" id="password">
        <label for="female">女</label><input type="radio"name="sex[]"id="female">
        <label for="male">男</label><input type="radio"name="sex[]"id="male">
    </fieldset>
    <fieldset>
        <legend>附加信息</legend>
        <label>兴趣爱好
            <input type="checkbox"name="favorite[]"id="sport">运动
            <input type="checkbox"name="favorite[]"id="music">音乐
        </label>
        <label for="university">毕业学校
            <select name="university" id="university">
                <option value="tsinghua">清华大学</option>
                <option value="pku">北京大学</option>
                <option value="jju">九江学院</option>
            </select>
        </label>
    </fieldset>
    <fieldset>
        <legend>文件信息</legend>
        <input type="file"name="upload"id="upload">
        <input type="hidden"name="user"id="zhangsan">
    </fieldset>
    <fieldset>
        <legend>备注信息</legend>
        <textarea name="note" id="" cols="30" rows="10"></textarea>
    </fieldset>
    <input type="submit"value="提交"><input type="reset"value="重置">
</form>

</body>
</html>